README for Firmware Update for Level Switch (Version 18) - 2015-09-21

Improvements (version 10):
- Removed a timing problem introduced in version 9

Improvements (version 11):
- Added possibility for PWM output.
- Adjustable PWM Period Time
- Adjustable Zoom range (up to 1:5)
- It should be possible to use new firmware with older version of DTM

Improvements (version 12):
- Increased EMC immunity for LFFS
- Added additional configuration possibilities

Improvements (version 13):
- FlexProgrammer assisted Teach-In problem fxed

Improvements (version 14):
- Fixed rare communication problem
- Improved drop-peak detection routine
- Improved sampling rate timing

Improvements (version 15):
- Fixed amplitude detection issue for LBFS if Teach-In was previously used
- Improved amplitude offset compensation
- Improved centre detection routine
- Improved calibration precision for new devices

Improvements (version 16):
- Production technical improvements

Improvements (version 17):
- Bugfix related to issue on PWM output duty cykle time when using PWM period
  times that are not a multiple of 0.2 seconds. 

Improvements (version 18):
- Measurement cycle period timing improved
- Production technical improvements

Improvements (version 19): (NOT RELASED, it was desided to update DTM also).
- Green LEDs was added for power on indication.
- A new 2 byte serialnumber variable was added in the config area for the inliner.
- ID's for Flex was hardcoded according to product type (LFFS and LBFS).

Improvements (version 20):
- Green LEDs was made selectable via DTM.
- allowedDevianceAmpl at 0xE823 was renamed to useGreenLEDs and is now used for holding Green LEDs active(1), and NOT active(0, default).

Improvements (version 21):
- A 2ms delay was added to Flexcommunication before making reply after flash write commands.  

Improvements (version 22):
-  DeviceID, hardware version and configuration bit are now read from default values instead of customer configuration.   


Please note:
- Before updating your Level Switch, please make sure your FlexProgrammer 9701
  is updated with the newest firmware (at least version 41).
- Check the current firmware version of your Level Switch. 
  - Please note: If the firmware version is lower than 2, Firmware updating is 
    not possible. 
  - If the firmware version is lower than 4 prior to updating the firmware,  
    the firmware version number will be displayed wrong in the FlexProgram 
    after updating the firmware, (usually as 255). However, the unit is updated 
    with the new firmware and will function properly.  